package com.showde.shoppingmall;

import java.io.Serializable;

import com.showde.shoppingmall.domain.User;

public class UserSession implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1464606237634306891L;

	private User user;

	public void setSession(User user) {
		this.user = user;
	}

	public User getSessionUser() {
		return this.user;
	}

	public boolean isSessionAvailable() {
		return this.user != null;
	}

}
